package com.xx.job.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.xx.job.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangcy
 * @since 2021-01-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysFileInfo extends BaseEntity {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;

    /**
     * '创建者'
     */
    private Long createBy;

    /**
     * '更新者'
     */
    private Long updateBy;

    /**
     * 类型
     */
    private String type;

    /**
     * 名称
     */
    private String name;

    /**
     * 大小
     */
    private Long size;

    /**
     * 目录
     */
    @JsonProperty("pId")
    private Long pId;

    /**
     * 来源
     */
    private String source;

    /**
     * 地址
     */

    private String url;

    /**
     * 全地址
     */
    private String fullUrl;


}
